package com.tang.pojo;

import java.io.Serializable;
import java.util.List;

public class UserInfo implements Serializable {
    private Integer uid;

    private String name;

    private String password;

    private String salt;

    private Byte state;

    private String username;

//    private List<SysRole> roleList;
//
//    private List<SysPermission> permissionList;
//
//    public List<SysRole> getRoleList() {
//        return roleList;
//    }
//
//    public void setRoleList(List<SysRole> roleList) {
//        this.roleList = roleList;
//    }
//
//    public List<SysPermission> getPermissionList() {
//        return permissionList;
//    }
//
//    public void setPermissionList(List<SysPermission> permissionList) {
//        this.permissionList = permissionList;
//    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt == null ? null : salt.trim();
    }

    public Byte getState() {
        return state;
    }

    public void setState(Byte state) {
        this.state = state;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }
}